<%@page import="cn.cslg.news.jdbc.User"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" import="java.sql.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>用户列表</title>
</head>
<body>
	<%
		//ArrayList<User> list=(ArrayList<User>)request.getAttribute("USER_LIST");
		@SuppressWarnings("all")
		ArrayList<User> list = (ArrayList<User>) session.getAttribute("USER_LIST");
	%>
	<table>
		<tr>
			<td>uid</td>
			<td>用户名</td>
			<td>姓名</td>
		</tr>
		<%
			for (User u : list) {
		%>
		<tr>
			<td><%=u.getUid()%></td>
			<td><%=u.getUsername()%></td>
			<td><%=u.getTruename()%></td>
		</tr>
		<%
			}
		%>
	</table>
</body>
</html>